const { override, addSVGR } = require('customize-cra');

module.exports = override(
  addSVGR({
    svgoConfig: {
      plugins: [
        {
          name: 'removeXMLNS',
          active: false,
        },
      ],
    },
    ref: true,
    throwIfNamespace: false, // 忽略命名空间错误
  })
);